package com.computercourse.framework.domain.course.response;

import com.computercourse.framework.model.response.ResponseResult;
import com.computercourse.framework.model.response.ResultCode;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author Feng.Yuan
 * @description
 * @date 2020/2/12 12:02 上午
 * @return
 */
@Data
@ToString
@NoArgsConstructor
public class CoursePublishResult extends ResponseResult {

    /**
     * 页面预览的url，必须得到页面id才可以拼装
     */
    private String previewUrl;

    public CoursePublishResult(ResultCode resultCode, String previewUrl) {

        super(resultCode);
        this.previewUrl = previewUrl;

    }
}
